package cn.itcast.mapper;

import cn.itcast.pojo.info;
import cn.itcast.pojo.infoExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface infoMapper {
    int countByExample(infoExample example);

    int deleteByExample(infoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(info record);

    int insertSelective(info record);

    List<info> selectByExample(infoExample example);

    info selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") info record, @Param("example") infoExample example);

    int updateByExample(@Param("record") info record, @Param("example") infoExample example);

    int updateByPrimaryKeySelective(info record);

    int updateByPrimaryKey(info record);

    /**
     *
     * @Description: 查找某个时间段骑手的提现记录
     *
     * @auther: 张松
     * @date: 11:40 2020/9/4
     * @param: [date]
     * @return: java.util.List<cn.itcast.pojo.info>
     *
     */
    List<info> selectHorsemanWithdrew(Map <String,String>date);

    int readMessage(String openId);
}